From: Kenichi Handa Date: Fri, 25 Dec 2009 05:27:03 +0000 (+0000) Subject: (command_loop_1): Fix previous change. X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1~1^2~324^2~8866 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=afe8a7b0eecf1780178fd29d68101a11bce9835a;p=emacs.git (command_loop_1): Fix previous change. --- diff --git a/src/keyboard.c b/src/keyboard.c index 37f0ca8c83a..7a137ea0dca 100644 --- a/src/keyboard.c +++ b/src/keyboard.c @@ -1978,9 +1978,11 @@ command_loop_1 () && NILP (Vdisable_point_adjustment) && NILP (Vglobal_disable_point_adjustment)) { - if (composition_adjust_point (last_point_position, - last_point_position) - != last_point_position) + if (last_point_position > BEGV + && last_point_position < ZV + && (composition_adjust_point (last_point_position, + last_point_position) + != last_point_position)) /* The last point was temporarily set within a grapheme cluster to prevent automatic composition. To recover the automatic composition, we must update the